#!/usr/bin/env python
# -*- coding: utf-8 -*-
from typing import TypeVar

from app.models import User
from pydantic import BaseModel

from app.dao.base_dao import BaseDao
from app.db.base_class import Base
from app.models.constant import Constant
from app.models.exchange import Exchange
from app.models.user_setting import UserSetting


class ExchangeDao(BaseDao[Exchange]):
    def __init__(self):
        super(ExchangeDao, self).__init__()
        self.modelClass = Exchange
        self.id = Exchange.id


exchangeDao = ExchangeDao()
